package com.itheima.domain;

import java.util.HashMap;
import java.util.HashSet;
import java.util.List;

public class User {
    private String username;
    private String password;

    private Address address;

    private List<Address> List;

    private HashMap<String,Address> map;

    public HashMap<String, Address> getMap() {
        return map;
    }

    public void setMap(HashMap<String, Address> map) {
        this.map = map;
    }

    public List<Address> getList() {
        return List;
    }

    public void setList(List<Address> List) {
        this.List = List;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "User{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", address=" + address +
                ", List=" + List +
                ", map=" + map +
                '}';
    }
}
